package com.vhall.component.entity.redpacket.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021/7/15
 */
@Data
public class RedPacketGetMyInfoReqVO implements Serializable {

    private static final long serialVersionUID = -1499804005191794952L;

    /**
     * 红包唯一标识ID
     */
    @NotBlank(message = "red_packet_uuid参数不正确")
    @Size(min = 32, max = 32)
    @ParamName("red_packet_uuid")
    private String redPacketUuid;

    @NotBlank(message = "room_id参数不正确")
    @ParamName("room_id")
    private String roomId;

    /**
     * 发送表情类型：1.红包，2.礼品，默认为1
     */
    @Range(min = 1, max = 2)
    @ParamName("gift_type")
    private Integer giftType;

    /**
     * 创建红包的第三方用户ID
     */
    @ParamName("third_party_user_id")
    private Integer thirdPartyUserId;

}
